﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CITPRO.Linq.LinqToOdbc {
    public static class Extensions {
        public static string ToCommaSeperatedList(this IEnumerable<object> list) {
            return string.Join(",", list.ToArray());
        }
        public static string ToCommaNewlineSeperatedList(this IEnumerable<object> list) {
            var delimiter = string.Format(",{0}", Environment.NewLine);
            return string.Join(delimiter, list.ToArray());
        }
    }
}
